package io.renren.modules.generator.service.impl;

import io.renren.modules.generator.entity.冬羔体重预测Entity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.春羔体重预测Dao;
import io.renren.modules.generator.entity.春羔体重预测Entity;
import io.renren.modules.generator.service.春羔体重预测Service;



@Service("春羔体重预测Service")
public class 春羔体重预测ServiceImpl implements 春羔体重预测Service {
	@Autowired
	private 春羔体重预测Dao 春羔体重预测Dao;
	
	@Override
	public 春羔体重预测Entity queryObject(Long id){
		return 春羔体重预测Dao.queryObject(id);
	}
	
	@Override
	public List<春羔体重预测Entity> queryList(Map<String, Object> map){
		return 春羔体重预测Dao.queryList(map);
	}

	@Override
	public List<春羔体重预测Entity> timeList(Map<String, Object> map){
		return 春羔体重预测Dao.timeList(map);
	}

	@Override
	public int timeTotal(Map<String, Object> map){
		return 春羔体重预测Dao.timeTotal(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return 春羔体重预测Dao.queryTotal(map);
	}
	
	@Override
	public void save(春羔体重预测Entity 春羔体重预测){
		春羔体重预测Dao.save(春羔体重预测);
	}
	
	@Override
	public void update(春羔体重预测Entity 春羔体重预测){
		春羔体重预测Dao.update(春羔体重预测);
	}
	
	@Override
	public void delete(Long id){
		春羔体重预测Dao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		春羔体重预测Dao.deleteBatch(ids);
	}
	
}
